# vi: ft=python

import os
import lit.formats

config.environment['HOME'] = os.environ['HOME']
config.environment['LC_ALL'] = os.environ['LC_ALL']

config.name = 'Verve'
config.suffixes = ['.vrv']
config.test_format = lit.formats.ShTest(True)
config.excludes = ['Fixtures']

verve = os.path.realpath('./verve')

config.substitutions.append(('%check', 'OutputCheck --comment=".*//" %s'))
config.substitutions.append(('%verve', '{} --dump-statements %s 2>&1'.format(verve)))
config.substitutions.append(('%not', 'eval !'))
